<?php
/* Smarty version 3.1.30, created on 2016-12-09 15:23:55
  from "F:\WWW\mvc\app\home\View\match_v.html" */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.30',
  'unifunc' => 'content_584a5c0b304354_06255346',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    'd77af0df88917cde1a879ae0f22e8de14875a756' => 
    array (
      0 => 'F:\\WWW\\mvc\\app\\home\\View\\match_v.html',
      1 => 1481267807,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_584a5c0b304354_06255346 (Smarty_Internal_Template $_smarty_tpl) {
?>
<html>
<head></head>
<body>
    <table border='1'>
        <tr>
            <td>足球队1</td>
            <td>比分</td>
            <td>足球队2</td>
            <td>操作</td>
        </tr>    
        <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['key']->value, 'v');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['v']->value) {
?>
        <tr>
        <td><a href="index.php?id=<?php echo $_smarty_tpl->tpl_vars['v']->value['teamone'];?>
&c=Team&a=index"><?php echo $_smarty_tpl->tpl_vars['v']->value['tn1'];?>
</a></td>
        <td><?php echo $_smarty_tpl->tpl_vars['v']->value['score'];?>
</td>
        <td><a href="index.php?id=<?php echo $_smarty_tpl->tpl_vars['v']->value['teamtwo'];?>
&c=Team&a=index"><?php echo $_smarty_tpl->tpl_vars['v']->value['tn2'];?>
</a></td>
        <td><a href="index.php?mid=<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
&m=admin&c=Update&a=index">编辑</a>/<a href="index.php?mid=<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
&m=admin&c=Delete&a=Del">删除</a></td>
        </tr>
        <?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl);
?>
   
    </table>
    <a href='index.php?m=home&c=Play&a=index'>展示所有的球员</a>
    <form action="index.php?m=admin&c=Add&a=doadd" method="post">
        球队1：<select name="teamone">
        
        <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['key']->value, 'v');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['v']->value) {
?>
            <option value="<?php echo $_smarty_tpl->tpl_vars['v']->value['teamone'];?>
"><?php echo $_smarty_tpl->tpl_vars['v']->value['tn1'];?>
</option>
        <?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl);
?>

        
        </select>
        比分：<input type="text" name="score" value="">
        球队2：<select name="teamtwo">
        
        <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['key']->value, 'v');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['v']->value) {
?>
            <option value="<?php echo $_smarty_tpl->tpl_vars['v']->value['teamtwo'];?>
"><?php echo $_smarty_tpl->tpl_vars['v']->value['tn2'];?>
</option>';
        <?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl);
?>

        
        </select>
        <input type="submit" value="提交">
    </form>
</body>
</html>















<?php }
}
